<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>fiber</title>
</head>

<body>
    <h1>fiberTest</h1>
    <script>
        requestIdleCallback(() => {
            console.log('---idle-');
        })
       
        setTimeout(() => {
            console.log('--timeout---');
        }, 10);
        requestAnimationFrame(()=> {
            console.log('---animation----')
        })
        console.log('aaa');

    </script>

</body>

</html>